
<%--
    Document   : testPage
    Created on : 22-jun-2008, 23:39:47
    Author     : _ViKtOr
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="cl.darksigns.webstat.client.WebStatClient" %>
<%@ page import="cl.darksigns.webstat.back.exception.WebStatException" %>


<%
    request.getSession().setAttribute("1","uno");
    request.getSession().setAttribute("1","uno");
    request.getSession().setAttribute("1","uno");
    request.getSession().setAttribute("1","uno");
            try {
                WebStatClient client = WebStatClient.getInstance();
                String resp = client.saveStat("prod", "descripcion", "category","transaction");
                //String resp = client.saveStat(request, "userId", "eventId", "GET ");
                System.out.println("webstat -> " + resp);
            } catch (WebStatException ex) {
                System.out.println("Error: " + ex.getMessage());
            }
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Hello World!</h2>
    </body>
</html>

